package com.chart.chart.domian.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageReq implements Serializable {

    private static final long serialVersionUID = -6563091462589845269L;

    @NotNull(message = "页码不能为空")
    public Integer pageNum;
    @NotNull(message = "页面大小不能为空")
    public Integer pageSize;
}
